package eu.chargetime.ocpp.jsonclientimplementation;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@Slf4j
@SpringBootApplication
public class JsonClientImplementationApplication {

    public static void main(String[] args) {

        ConfigurableApplicationContext run = SpringApplication.run(JsonClientImplementationApplication.class, args);
        String port = run.getEnvironment().getProperty("server.port");
        log.info("[客户端初始化成功],port:{}", port);
    }

}
